Fix assignment of an invalid value to a DictConfig to raise an exception without modifying the config object
